package com.yunhe.portal.config;

import feign.codec.ErrorDecoder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName: FeignConfig
 * @Description:
 * @author: GongDaCheng
 * @Date: 17:25 2021/9/2
 */
@Configuration
public class FeignConfig {
    @Bean
    public ErrorDecoder errorDecoder(){
        return new DefaultErrorDecoder();
    }
}
